#Goal for this example:

#build a collection of static libraries some that use CUDA and link
#them to a C++ executable

add_library(cpp_consume_cuda_static STATIC static.cu)

add_library(cpp_static_lib STATIC static.cpp)
target_link_libraries(cpp_static_lib PRIVATE cpp_consume_cuda_static)

add_executable(cpp_consume main.cpp)
target_link_libraries(cpp_consume PRIVATE cpp_static_lib)
